<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>智能检测 人员基本信息</title>
    <!--公用样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/comment.css"/>
    <!--页面样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/style.css"/>
    <!--Layui-->
    <link rel="stylesheet" href="${re.contextPath}/plugin/layui/css/layui.css" media="all"/>
    <!--页面样式-->
    <link rel="stylesheet" type="text/css" href="${re.contextPath}/plugin/common/css/extended.css"/>
    <!--JQ-->
    <script type="text/javascript" charset="utf-8"
            src="${re.contextPath}/plugin/common/js/jquery-1.8.3.min.js"></script>
    <!--Layui-->
    <script type="text/javascript" src="${re.contextPath}/plugin/layui/layui.js" charset="utf-8"></script>
    <!--公用样式JS-->
    <script type="text/javascript" src="${re.contextPath}/plugin/common/js/comment.js" charset="utf-8"></script>
    <style>
        .layui-laypage-limits>select{
            width: 100% !important;
        }
    </style>
</head>

<body>
<!--容器-->

<div class="container index clearfix">
    <!--右侧内容-->
    <div class="Right fr" style="width: 100%;">

        <div  lay-filter="docDemoTabBrief" style="margin-top: 12px;">
            <div class="return">
                <img class="close" src="${re.contextPath}/plugin/common/images/32@2x.png" alt=""/>
                <span class="close">返回上一页</span>
            </div>
            <div class="project whitebg" >
                <table border="1"  cellspacing="1">
                    <tr  >
                        <td >姓名</td>
                        <td >${user.name}</td>
                        <td >民族</td>
                        <td >${user.nation}</td>
                    </tr>
                    <tr  >
                        <td >所属公司</td>
                        <td >${user.companyName}</td>
                        <td >婚姻情况</td>
                        <td >${user.hyStatus}</td>
                    </tr>
                    <tr  >
                        <td >部门</td>
                        <td >${user.deptName}</td>
                        <td >政治面貌</td>
                        <td >${user.political}</td>
                    </tr>
                    <tr  >
                        <td >职务</td>
                        <td >${user.duty}</td>
                        <td >籍贯</td>
                        <td >${user.birthPlace}</td>
                    </tr>
                    <tr  >
                        <td >职称</td>
                        <td >${user.professor}</td>
                        <td >血型</td>
                        <td >${user.bloodType}</td>
                    </tr>
                    <tr  >
                        <td >岗位职级</td>
                        <td >${user.stationProfessor}</td>
                        <td >星座</td>
                        <td >${user.constellation}</td>
                    </tr>
                    <tr  >
                        <td >邮箱</td>
                        <td >${user.email}</td>
                        <td >属相</td>
                        <td >${user.zodiac}</td>
                    </tr>
                    <tr  >
                        <td >身份证号</td>
                        <td >${user.cardId}</td>
                        <td >工作年限</td>
                        <td >${user.arrWorkDate}</td>
                    </tr>
                    <tr  >

                        <td >性别</td>
                        <#if  "${user.sex}"==1 >
                            <td >男</td>
                        <#else>
                            <td >女</td>
                        </#if>
                        <td >到公司时间</td>
                        <td >${user.arrivalCompanyTime}</td>
                    </tr>
                    <tr  >
                        <td >年龄</td>
                        <td >${user.age}</td>
                        <td >司龄</td>
                        <td >${user.arrComDate}</td>
                    </tr>
                    <tr  >
                        <td >第一学历</td>
                        <td >${user.firstXl}</td>
                        <td >联系电话</td>
                        <td >${user.phoneNumber}</td>
                    </tr>
                    <tr  >
<#--                        <td >第一学位</td>-->
<#--                        <td ></td>-->
                        <td >持有证书数量</td>
                        <td >${user.num}</td>
                        <td >紧急联系人</td>
                        <td >${user.emergencyContactName}</td>
                    </tr>
                    <tr  >
                        <td >第一学历学校</td>
                        <td >${user.firstSchool}</td>
                        <td >紧急联系电话</td>
                        <td >${user.emergencyContractNumber}</td>
                    </tr>
                    <tr  >
                        <td >第一学历专业</td>
                        <td >${user.firstZy}</td>
                        <td >擅长领域</td>
                        <td >${user.doBest}</td>
                    </tr>
                    <tr  >
                        <td >最终学历</td>
                        <td >${user.lastXl}</td>
                        <td >是否接受出差</td>
                        <#if  "${user.bussTravel}"==1 >
                        <td >是</td>
                        <#elseif "${user.bussTravel}"==0>
                        <td >否</td>
                        <#else >
                            <td ></td>
                        </#if>
                    </tr>
<#--                    <tr  >-->
<#--                        <td >最终学位</td>-->
<#--                        <td ></td>-->
<#--                        <td >持有证书数量</td>-->
<#--                        <td >${user.num}</td>-->
<#--                    </tr>-->
                    <tr  >
                        <td >最终学历专业</td>
                        <td >${user.lastZy}</td>
                        <td >持有证书</td>
                        <td >${user.certName}</td>
                    </tr>
                    <tr  >
                        <td >最终学历学校</td>
                        <td >${user.lastSchool}</td>
                        <td ></td>
                        <td ></td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="toolBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看详情</a>
</script>

<script>
    function showDetail() {
        var projectName='${project.projectName}';
        var id='${project.supProjectId}';
        window.parent._showtab('xm_v' + id, '查看-' +projectName, '/supplier/projectManager/projectDetail?type=v&supProjectId=' +id);
    }
    $('.close').click(function () {
        var index = parent.layer.getFrameIndex(window.name);
        parent.layer.close(index);
    });
    var layer;
    var tableIns;
    $(function () {
        layui.use(['table'], function () {
            table = layui.table;
            //方法级渲染
            tableIns = table.render({
                id: 'modrecord',
                elem: '#modrecord',
                url: '/supervisor/projectManager/gerRecordList?spId='+'${supProjectChangeId}',
                page: true,
                parseData: function(res){
                    if(res && res.length >= 0){
                        return {
                            "code": 0,
                            "msg": "加载成功",
                            "count": res.length,
                            "data":res
                        }
                    }
                },
                cols: [[
                    {title: '序号',width: '10%', align:'center', templet: function (res) {
                            return res.LAY_INDEX;
                        }},
            /*        {title: '类型', field: 'spmrAction', width: '10%', sort: false},*/
                    {title: '修改内容', field: 'spFieldName', width: '30%',align:'center', sort: false},
                    {title: '变更前', field: 'oldValue', width: '30%', align:'center',sort: false},
                    {title: '变更后', field: 'newValue', width: '30%', align:'center',sort: false}
                ]],
            });
        })
    })
</script>
</body>
</html>